package com.itc.bpm.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Data
public class ParamsItemDto implements Serializable {
    private String dataset;

    private String dataSetType;

    private String idKey;

    private String fieldName;

    private String fieldKey;

    private String filterCondition;

    public ParamsItemDto(Map map){
        this.dataset = map.get("dataset")+"";
        this.idKey = map.get("idKey")+"";
        this.fieldName = map.get("fieldName")+"";
        this.fieldKey = map.get("fieldKey")+"";
    }
}

